import Main from '../pages/main/mainIndex.vue'
import CssTest from '@/pages/cssTest/cssTestIndex.vue'
import Home from '@/pages/videoPlayer/videoPlayerIndex.vue'
import List from '@/pages/showList/listIndex.vue'
import ClassA from '@/pages/classA/classAIndex.vue'

import { createMemoryHistory,createRouter } from "vue-router";

const routes = [
    {
        path:'/',
        name:'main',
        component: Main
    },
    {
        path:'/cssTest',
        name:'cssTest',
        component: CssTest
    },
    {
        path:'/videoPlayer',
        name:'videoPlayer',
        component: Home
    },
    {
        path:'/list',
        name:'list',
        component: List
    } ,
    {
        path:'/classA',
        name:'classA',
        component: ClassA
    },
]

let routers;
routers = createRouter({
    history: createMemoryHistory(),
    routes
});
export default routers